var initGoodsClassifyInfoSearchPage = function(){
	jQuery('#ligerTypeSearcher').ligerComboBox({
		data:goodsTypeRenderData,
		valueField:'value',
		textField:'text',
		valueFieldID:'typeSearcher'
	});
};

var getGoodsClassifyInfoSearchParams = function(){
	var goodsclassifyinfoBean = {};
	var temp;
	temp = jQuery('#nameSearcher').val();
	if(temp){
		goodsclassifyinfoBean.name = temp;
	}
	temp = jQuery('#pidSearcher').val();
	if(temp){
		goodsclassifyinfoBean.pid = temp;
	}
	temp = jQuery('#typeSearcher').val();
	if(temp){
		goodsclassifyinfoBean.type = temp;
	}
	return goodsclassifyinfoBean;
}

jQuery(function(){
	initGoodsClassifyInfoSearchPage();
	jQuery('#searchGoodsClassifyInfo').click(function(){
		goodsclassifyinfoManager.loadServerData(getGoodsClassifyInfoSearchParams());
	});
});


